<template>
	<!-- 回收分类列表组件 -->
	<view class="recyclable-main">
		<view class="boxStyle"></view>
		<view class="classMain">
			<view class="classMain-box">
				<view class="classMain-image">
					<image src="../static/images/class-yiwu.png" mode=""></image>
				</view>
				<view class="classMain-text">衣物类</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {mapState} from 'vuex'
	export default{
		data(){
			return{
				
			}
		},
		computed:{
			...mapState({
				clableMainList:state=>state.recyclable.recyclableMainList
			})
		},
		mounted() {
			console.log(this.clableMainList)
		},
	}
</script>

<style lang="scss" scoped>
	.recyclable-main{
		box-sizing: border-box;
		height: 100%;
		.boxStyle{//给盒子设置颜色渐变
			height: 3vh;
			background: linear-gradient(#f7f7f7,#fff);
		}
		.classMain{
			background: #fff;
			width: 100%;
			height: 100%;
			box-sizing: border-box;
			.classMain-box{
				// border: 1px solid #000;
				margin-left: 40rpx;
				width: 100rpx;
				.classMain-image{
					width: 100rpx;
					margin: 0 auto;
					image{
						width: 100rpx;
						height: 100rpx;
						border-radius: 50rpx;
						margin-bottom: 10rpx
						box-sizing: border-box;
					}
				}
				
				.classMain-text{
					font-size: 27rpx;
					// border: 1px solid #f00;
					text-align: center;
				}
			}
		}
	}
</style>